<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<!DOCTYPE html>
<html class="bg-blue">
<head>
    <meta charset="UTF-8">
    <title>AdminLTE | Log in</title>
    <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
    <!-- bootstrap 3.0.2 -->
    <link href="/AdminLTE/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
    <!-- font Awesome -->
    <link href="/AdminLTE/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
    <!-- Theme style -->
    <link href="/AdminLTE/css/AdminLTE.css" rel="stylesheet" type="text/css" />

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
    <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
    <![endif]-->
</head>
<body class="bg-blue">

<div class="form-box" id="login-box">
    <div class="header" th:text="${localPort + '登陆'}" >  登陆</div>
    <form action="/admin/login" method="post">
        <div class="body bg-gray">
            <div class="alert alert-danger alert-dismissible" th:href="@{/style='display:none'}" th:if="${message != null}" >
            <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
            <span th:text="${message}"></span>
        </div>
        <div class="form-group">
            <input type="text" name="username" class="form-control" placeholder="用户名"/>
        </div>
        <div class="form-group">
            <input type="password" name="password" class="form-control" placeholder="密码"/>
        </div>

</div>
<div class="footer">
    <button type="submit" class="btn bg-olive btn-block">立即登陆</button>
</div>
</form>


</div>




<!-- jQuery 2.1.1 -->
<script src="/AdminLTE/js/jquery-2.1.1.min.js" type="text/javascript"></script>
<!-- Bootstrap -->
<script src="/AdminLTE/js/bootstrap.min.js" type="text/javascript"></script>

</body>

</html>
